class FilePathEntity {
  FilePathEntity({
      this.createTime, 
      this.duration, 
      this.fileSize, 
      this.fileType, 
      this.id, 
      this.isRead, 
      this.name, 
      this.relationId, 
      this.sourcePath, 
      this.thumbnailPath,});

  FilePathEntity.fromJson(dynamic json) {
    createTime = json['createTime'];
    duration = json['duration'];
    fileSize = json['fileSize'];
    fileType = json['fileType'];
    id = json['id'];
    isRead = json['isRead'];
    name = json['name'];
    relationId = json['relationId'];
    sourcePath = json['sourcePath'];
    thumbnailPath = json['thumbnailPath'];
  }
  String? createTime;
  String? duration;
  String? fileSize;
  String? fileType;
  String? id;
  String? isRead;
  String? name;
  String? relationId;
  String? sourcePath;
  String? thumbnailPath;
FilePathEntity copyWith({  String? createTime,
  String? duration,
  String? fileSize,
  String? fileType,
  String? id,
  String? isRead,
  String? name,
  String? relationId,
  String? sourcePath,
  String? thumbnailPath,
}) => FilePathEntity(  createTime: createTime ?? this.createTime,
  duration: duration ?? this.duration,
  fileSize: fileSize ?? this.fileSize,
  fileType: fileType ?? this.fileType,
  id: id ?? this.id,
  isRead: isRead ?? this.isRead,
  name: name ?? this.name,
  relationId: relationId ?? this.relationId,
  sourcePath: sourcePath ?? this.sourcePath,
  thumbnailPath: thumbnailPath ?? this.thumbnailPath,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['createTime'] = createTime;
    map['duration'] = duration;
    map['fileSize'] = fileSize;
    map['fileType'] = fileType;
    map['id'] = id;
    map['isRead'] = isRead;
    map['name'] = name;
    map['relationId'] = relationId;
    map['sourcePath'] = sourcePath;
    map['thumbnailPath'] = thumbnailPath;
    return map;
  }

}